<?php

namespace app\admin\validate;

use think\Validate;

class AccountCate extends Validate
{
    //定义验证规则
    protected $rule = [
        'parentid|上级菜单' => 'require|number',
        'title|标题' => 'require',
    ];

    /**
     * 提示消息
     */
    protected $message = [
    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'add' => [],
        'edit' => [],
    ];

}
